package com.wanxi.education.model.vo.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: YanZhengYi
 * @Description:
 * @Date: Created in 2021/9/29
 * @Version: 1.0
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(description = "给A端用户分配角色")
public class UpdateRoleVo {
    @ApiModelProperty("A端用户的Id")
    public Long id;
    @ApiModelProperty("传入所选的所有角色的id，以list集合方式存储")
    public List<Integer> roleId;
}
